ARM ASSEMBLER

This originally began as a series of articles on assembler programming in Frobnicate. It is targetted towards the older processors (ARM 2, ARM 250, and ARM 3).
The code presented should also work on later processors, including the StrongARM, but this has not been tested.

In order to learn assembler, you will need NOTHING more than the desire to learn, and a little free time.
Let me repeat that again.
You will NOT need a two-hundred pound compiler, sixty megabytes of memory, a two Gb harddisc, and a processor so fast it interferes with your satellite receiver.
If you have an Acorn Archimedes computer, right from an old A305 running some version of Arthur to the very latest machine - you have what you need. And that very important thing is BBC BASIC. Because within BBC BASIC is a powerful compiler. More powerful, some might say, than the professional compilers such as objasm. Is it any wonder some incredible things are written with the BASIC compiler? Such as StrongEd?
Of course, a Desktop and a text editor that understands BASIC files will make your life much easier, so I recommend RISC OS 3. But, if you are happy with Arthur and ARMBE - don't let me interfere with your fun!

Please note that the APCS examples require an assembler and a linker (and, optionally, a C compiler). However, it is expected that if you are interested in APCS, you will have one or more of these.

 

Newsflash!!! If you don't want to read all of this on-line, you can download a Spark archive and read it off-line! Scroll down to the archives heading...

 

Introduction

 

 

The instruction set

 

 

Processor differences

 

 

The BASIC assembler

 

 

Useful hints

 

 

APCS

 

 

Mathematics co-processor

 

 

Examples

See also:

 

 

Opinion

 

 

 

Newsflash!

 

 

Links

 

 

If the downloads don't work...

 

 

Archives

The downloadable archives are Spark format. Thus, WinZip and other such programs will not be able to unpack them; but the freely available SparkPlug will...

 

 

And finally...

Like the rest of heyrick.co.uk, this section was written entirely with !Edit on a 4Mb Acorn A5000.

 

Initialised 12th May 1999 and has had approximately 2725+ visitors...
Launched 2nd August 2000.
Last updated 16th November 2000 at 01:44h.

 


Return to main index
Copyright © 2000 Richard Murray